﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UserMenu.ascx.cs" Inherits="UserControls_UserMenu" %>

<div id="divDevelopersMenu" runat="server" visible="false">    
    <div class='LeftMenuBox' style="margin-bottom:0px;">
        <div class='LeftMenuBoxHeader'></div>
        <div style='background-color:#FFFFFF; padding-bottom: 7px;'>
            <ul class='LeftMenu'>
                <li><a href="/Pages/Private/MemberShipDetails.aspx">Membership Details</a></li>
                <li><a href="/Pages/Private/CompanyProfileEdit.aspx">Company Profile</a></li>
                <li><a href="/Pages/Private/Contacts.aspx">Contacts</a></li>
                <li><a href="/Pages/Private/ProjectList.aspx">Manage Projects</a></li>
                <li><a href="/Pages/Private/SpecialOfferList.aspx">Manage Special Offer</a></li>
                <li><a href="/Pages/Private/ChangePassword.aspx">Change Password</a></li>
            </ul>
        </div>
    </div>
</div>

<div id="divServiceProvider" runat="server" visible="false">    
    <div class='LeftMenuBox' style="margin-bottom:0px;">
        <div class='LeftMenuBoxHeader'></div>
        <div style='background-color:#FFFFFF; padding-bottom: 7px;'>
            <ul class='LeftMenu'>
                <li><a href="/Pages/Private/MemberShipDetails.aspx">Membership Details</a></li>
                <li><a href="/Pages/Private/CompanyProfileEdit.aspx">Company Profile</a></li>
                <li><a href="/Pages/Private/Contacts.aspx">Contacts</a></li>
                <li><a href="/Pages/Private/SpecialOfferChange.aspx">Submit Special Offer</a></li>
                <li id="liRentLink" runat="server" visible="false"><a href="/Pages/Private/PropertyForRentList.aspx">Manage Rent</a></li>
                <li><a href="/Pages/Private/ChangePassword.aspx">Change Password</a></li>                
                <%--Company Brances Should be Here--%>                                
            </ul>
        </div>
    </div>
</div>

<div id="divIndividual" runat="server" visible="false">     
    <div class='LeftMenuBox' style="margin-bottom:0px;">
        <div class='LeftMenuBoxHeader'></div>
        <div style='background-color:#FFFFFF; padding-bottom: 7px;'>
            <ul class='LeftMenu'>
                <li><a href="/Pages/Private/ProfileView.aspx">My Profile</a></li>
                <li><a href="/Pages/Private/Fovorites.aspx">My Favourites</a></li>
                <li><a href="/Pages/Private/ChangePassword.aspx">Change Password</a></li>
                <li><a href="/Pages/Private/SpecialOfferList.aspx">Manage Special Offer</a></li>
            </ul>
        </div>
    </div>
</div>

<div id="divAdministrator" runat="server" visible="false">     
    <div class='LeftMenuBox' style="margin-bottom:0px;">
        <div class='LeftMenuBoxHeader'></div>
        <div style='background-color:#FFFFFF; padding-bottom: 7px;'>
            <ul class='LeftMenu'>
                <li><a href="/Pages/Admin/CustomerUserList.aspx">Manage Users</a></li>                
                <li><a href="/Pages/Admin/IndividualList.aspx">Manage Individual User</a></li>
                <li><a href="/Pages/Admin/CustomerList.aspx">Manage Customer</a></li>
                <li><a href="/Pages/Admin/ManageSubscription.aspx">Manage Subscription</a></li>
                <li><a href="/Pages/Admin/ContentList.aspx">Manage Contents</a></li>
                <li><a href="/Pages/Admin/Packages.aspx">Manage Packages</a></li>
                <li><a href="/Pages/Admin/ProjectList.aspx">Manage Projects</a></li>
                <li><a href="<%= AppConstants.Pages.NEWS_LIST_ADMIN %>">Manage News</a></li>
                <li><a href="<%= AppConstants.Pages.EVENT_LIST %>">Manage Events</a></li>
                <li><a href="<%= AppConstants.Pages.ARTICLE_LIST_ADMIN %>">Manage Articles</a></li>
                <li><a href="/Pages/Admin/AdvertisementList.aspx">Manage Advertisements</a></li>     
                <li><a href="/Pages/Admin/SpecialOfferList.aspx">Manage Special Offers</a></li>  
                <li><a href="/Pages/Admin/SendFailedMessages.aspx">Send Failed Messages</a></li>
                <li><a href="/Pages/Private/ChangePassword.aspx">Change Password</a></li>   
                <li><a href="/Pages/Admin/NewsletterList.aspx">Manage Newsletter</a></li>
                <li><a href="/Pages/Admin/SendNewsletter.aspx">Send Newsletter</a></li>     
                <li><a href="/Pages/Admin/TestimonialList.aspx">Manage Testimonials</a></li>
                <li><a href="/Pages/Admin/MediaReportList.aspx">Manage Media Reports</a></li> 
                <li><a href="/Pages/Admin/JointVentureList.aspx">Joint Ventures</a></li>       
            </ul>
        </div>
    </div>
</div>

<script language="javascript" type="text/javascript">
    $(document).ready(function () {
        var pageUrl = '<%= Request.Url.AbsolutePath %>';
        $('ul.LeftMenu a').each(function () {
            if (pageUrl.toLowerCase().indexOf($(this).attr('href').toLowerCase()) > -1) {
                $(this).parent().addClass('Current')
            }
        });
    });
</script>
